package com.zgroup.common;

/**
 * 常量定义
 */
public abstract class Constants {
    /**
     * 列表最大显示行数
     */
    public final static int SHOW_LIST_SIZE = 10;

    public final static String REQUEST_QUERY_STRING = "queryString";

    public static final String REQUEST_USER_INFO = "userInfo";

    public final static String DEFUALT_USER_HEAD = "default_user_head.gif";

    /**
     * 设置cookie生命周期为一星期
     */
    public static final int COOKIE_MAX_AGE = 604800;

    /**
     * 记住用户名 Cookie Key
     */
    public static final String COOKIE_USER_NAME_SAVE = "COOKIE_USER_NAME_SAVE";

    /**
     * 用户名 Cookie Key
     */
    public static final String COOKIE_USER_NAME = "COOKIE_USER_NAME";

    /**
     * 用户密码 Cookie Key
     */
    public static final String COOKIE_PASSWORD = "COOKIE_PASSWORD";

    /**
     * 管理用户名 Cookie Key
     */
    public static final String COOKIE_ADMIN_USER_NAME = "COOKIE_ADMIN_USER_NAME";

    /**
     * 管理用户密码 Cookie Key
     */
    public static final String COOKIE_ADMIN_PASSWORD = "COOKIE_ADMIN_PASSWORD";

    /**
     * 管理用户密码 Cookie Key
     */
    public static final String COOKIE_USER_FILE_PATH = "COOKIE_USER_FILE_PATH";


}
